﻿using System;

namespace TwitterMatic.Shared.Data
{
    public interface ITimedTweetRepository
    {
        void Delete(string screenName, TwitterMatic.Shared.Domain.TimedTweet tweet);
        void Archive(string screenName, TwitterMatic.Shared.Domain.TimedTweet tweet);
        void Insert(string screenName, TwitterMatic.Shared.Domain.TimedTweet tweet);
        void Update(TwitterMatic.Shared.Domain.TimedTweet tweet);
        System.Collections.Generic.List<TwitterMatic.Shared.Domain.TimedTweet> RetrieveAll(string screenName);
        System.Collections.Generic.List<TwitterMatic.Shared.Domain.TimedTweet> RetrieveDue(DateTime dueDate);
        TwitterMatic.Shared.Domain.TimedTweet RetrieveById(string screenName, string id);
        int CountAll();
    }
}
